package com.qdc.datacenters.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;


/**
 * 聊天敏感词(ChatContactMsgSensitive)表实体类
 *
 * @author danmo
 * @since 2024-03-07 16:53:26
 */
@Schema
@Data
@SuppressWarnings("serial")
@TableName("chat_contact_msg_sensitive")
public class ChatContactMsgSensitive extends BaseEntity implements Serializable {
    private static final long serialVersionUID = -40280247824637259L;

    /**
     * 主键id
     */

    @Schema(description = "主键id")
    @TableId(type = IdType.AUTO)
    private Long id;


    /**
     * 发送人id
     */
    @Schema(description = "名称")
    @TableField("name")
    private String name;


    /**
     * 敏感词汇
     */
    @Schema(description = "敏感词汇")
    @TableField("words")
    private String words;


    /**
     * 生效范围  0-全部  1-员工  2-客户
     */
    @Schema(description = "生效范围  0-全部  1-员工  2-客户")
    @TableField("range_type")
    private Integer rangeType;


    /**
     * 范围
     */
    @Schema(description = "范围")
    @TableField("range")
    private String range;


    /**
     * 开启提醒 0-不开启 1-开启
     */
    @Schema(description = "开启提醒 0-不开启 1-开启")
    @TableField("remind")
    private Integer remind;


    /**
     * 提醒人员
     */
    @Schema(description = "提醒人员")
    @TableField("remind_user")
    private String remindUser;

    /**
     *  状态  0-关闭  1-开启
     */
    @Schema(description = "状态  0-关闭  1-开启")
    @TableField("status")
    private Integer status;


}

